#include "mybutton.h"

MyButton::MyButton(QWidget *parent)
    : QPushButton(parent)
{
    // 构造函数实现
    setText("My Custom Button");
    setStyleSheet("QPushButton { background-color: lightblue; }");

    qDebug() << "MyButton created";
}
